Preserving Conceptual Constraints During XML Updates
نویسندگان
چکیده
Despite the increasing demand for an effective XML document repository, many are still reluctant to store XML documents in their natural tree form. One main reason is the inadequacy of XML query languages to update the tree-form XML documents. Even though some of the languages have supported minimum update facilities, they do not concern on preserving the documents constraints. The results are updated documents with very low database integrity. In this paper, we propose a methodology to accommodate XML Update without violating the conceptual constraints of the documents. The method takes form as a set of functions that perform checking mechanisms before update operations. In this paper we discuss the conceptual constraints embedded in three different relationship structures: association, aggregation and inheritance relationship. We highlight four constraints related with association relationship (nuber of participants, referential integrity, cardinality, and adhesion), five constraints related with aggregation relationship (cardinality, adhesion, ordering, homogeneity and share-ability) and two constraints related to inheritance relationship (disjoint and number of super-class). In addition, a specific constraint, which is collection type of children, will also be discussed. The proposed method can be implemented in different ways, for example in this paper we use XQuery language. Since the XML update requires schema, in this paper we also propose the mapping of the these constraints in the conceptual level to the XML Schema. We use XML Schema for structure validation, even though the algorithm can be used by any schema languages.
منابع مشابه
Preserving Aggregation Semantic Constraints in XML Document Update
In this paper we propose a methodology to accommodate XML Update without violating the original document’s constraints. The method takes form as a set of functions that perform checking mechanism before updates. The main focus is on the aggregation relationship, which is further differentiated based on the constraints: cardinality, adhesion, ordering, homogeneity and share-ability. The proposed...
متن کاملConstraint Preserving XML Updating
With the rapid development of Internet, XML becomes the standard for data representation, integration and exchange on the web. In order to fully evolve XML into a universal data representation and sharing format, it is necessary to update XML documents efficiently while preserving constraints. We consider an important class of constraints, XML keys. In this paper, based on XML keys and the cons...
متن کاملA Grammarware for the Incremental Validation of Integrity Constraints on XML Documents under Multiple Updates
This paper extends our previous work by showing our grammarware as a generic way for validating XML integrity constraints, both from scratch and incrementally during document updates. Indeed, our generic attribute grammar can stand for any XML constraint validator, provided that the constraint is defined with paths. We specify a common definition framework for seven classes of XML integrity con...
متن کاملNumerical constraints on XML data
Boundaries occur naturally in everyday life. This paper introduces numerical constraints into the framework of XML to take advantage of the benefits that result from the explicit specification of such boundaries. Roughly speaking, numerical constraints restrict the number of elements in an XML data fragment based on the data values of selected subelements. Efficient reasoning about numerical co...
متن کاملOn Updating Inheritance Relationship in XML Documents
It is a fact that many XML query languages lack support for update operations. Those that have minimal support do not concern with preserving documents’ constraints, and consequently the results are updated XML documents with low integrity. In this paper we propose a methodology to accommodate XML Update without violating the original document constraints. The main focus is on the preserving th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- IJWIS
دوره 1 شماره
صفحات -
تاریخ انتشار 2005